#include <iostream> 
#include <iomanip> 
using namespace std; 
 
ostream &mySetting(ostream &stream) 
{ 
  stream.setf(ios::left); 
  stream << setw(10) << setfill('$'); 
  return stream; 
} 
 
int main() 
{ 
  cout << 10 << " " << mySetting << 10; 
 
  return 0; 
}
